package com.caseProcess.service.impl;

import com.caseProcess.entity.Case;
import com.caseProcess.entity.CaseCount;
import com.caseProcess.mapper.CaseCountDao;
import com.caseProcess.mapper.CaseDao;
import com.caseProcess.service.CaseCountService;
import com.caseProcess.service.CaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class CaseCountServiceImpl implements CaseCountService {

    @Resource
    private CaseCountDao caseCountDao;

    @Override
    public List<CaseCount> selectCountByEnd(String departmentId, String startTime, String endTime) {
        return caseCountDao.selectCountByEnd(departmentId, startTime, endTime);
    }
}
